<template>
  <ComponentPage
    title="表单组件库"
    :componentGlob="formsComponents"
    :pageSize="8"
  />
</template>

<script setup>
import ComponentPage from './ComponentPage.vue'

// ✅ 动态导入目标目录下所有 .vue 文件
const formsComponents = import.meta.glob('../components/forms/*.vue')

</script>